import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import NavType from "@comp/NavType";
import Swiper from "@comp/Swiper";
import Pagination from "@comp/Pagination";

import "@/mock/mockServer"
Vue.config.productionTip = false
Vue.component('NavType',NavType)
Vue.component('Swiper',Swiper)
Vue.component('Pagination',Pagination)
new Vue({
  router,
  store,
  //创建事件总线
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  render: h => h(App)
}).$mount('#app')